package cn.hxlc.tie.demo.modular.zr.material.service;/*
 @author rui
 @date 2021/7/15 --18:59
*/

import cn.hxlc.tie.demo.modular.zr.material.entity.MaterialGroup;
import cn.hxlc.tie.demo.modular.zr.material.model.params.MaterialGroupParam;
import cn.hxlc.tie.demo.modular.zr.material.model.result.MaterialGroupResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface MaterialGroupService extends IService<MaterialGroup> {
    List<Map<String, Object>> queryTree();


    void addOne(MaterialGroupParam materialGroupParam);

    void updateOne(MaterialGroupParam materialGroupParam);

    void deleteOne(Long fid);

    PageResult<MaterialGroupResult> findPageBySpec(MaterialGroupParam param);
}
